package g

import (
	mqtt "github.com/eclipse/paho.mqtt.golang"
	"github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces"
	"github.com/go-resty/resty/v2"
	"github.com/gomodule/redigo/redis"
	influxdb "github.com/influxdata/influxdb1-client/v2"
	"github.com/robfig/cron/v3"
	"github.com/sirupsen/logrus"
	"gorm.io/gorm"
)

const (
	ServiceKey = "carbon-monitor-app"
)

var (
	PersistPath    string
	AppService     interfaces.ApplicationService
	Logger         *logrus.Logger
	Resty          = resty.New()
	Store          interfaces.StoreClient
	ResitPool      *redis.Pool
	MqttClient     mqtt.Client
	Db             *gorm.DB
	Cron           *cron.Cron
	InfluxDbClient influxdb.Client
)
